import sys
from PySide6.QtWidgets import QApplication, QMainWindow, QPushButton,QLineEdit,QVBoxLayout


class MyWindow(QMainWindow):
    def __init__(self):
        super().__init__()
        # btn = QPushButton('来点一点我',self)
        # # 提示
        # btn.setToolTip('点我有惊喜')
        # 输入框
        lin = QLineEdit(self)
        # 提示
        lin.setPlaceholderText('请输入内容')

if __name__ == '__main__':
    app = QApplication(sys.argv)
    window = MyWindow()
    window.show()
    sys.exit(app.exec())
